Events, General


OnFileUnload Event fired before view mode has been changed and before a new file has been opened using Open method.
Should be used to perform some file finalization, like saving of current file position.
Note:
  • If you don't close currently opened file on application closing, this event is not fired. So you may need to additionally call its handler in your form's OnClose event.
OnFileLoad Event fired after view mode has been changed and after a new file has been opened using Open method.
Should be used to perform some file post-initialization, like restoring of previously saved file position.
OnOptionsChange Event fired after some option has been changed by a user.
Examples of such changable options:
  • Text encoding can be changed using right-click menu
  • Text and image scale can be changed using Ctrl + Mouse wheel